import Footer from "./component/footer";
import List from "./component/list";
import Header from "./component/header";
import "./staticcss/index.css";
import { useState } from "react";
export default function App() {
  const [todoslist,settodoslist]=useState([
    {id:1,title:'发财',complete:false},
    {id:2,title:'发大财',complete:false},
    {id:3,title:'红红红',complete:false},
  ])
  return (
    <div>
      <div className="todo-container">
        <div className="todo-wrap">
          <Header></Header>
          <List></List>
          <Footer></Footer>
        </div>
      </div>
    </div>
  );
}
